arm: Move FSL_HAS_DP_DDR and NUM_DDR_CONTROLLERS to Kconfig
authorYork Sun <[email protected]>
Tue, 4 Oct 2016 21:46:50 +0000 (14:46 -0700)
committerYork Sun <[email protected]>
Thu, 6 Oct 2016 16:59:11 +0000 (09:59 -0700)
commitfd6381029dc38aad9ab5b69fe1ea5e6efb3745d2
tree893e75fed26de7d511ec418140a357b9374ce414
parent25af7dc19358f18ba826492f781fbdfab8fd8588
arm: Move FSL_HAS_DP_DDR and NUM_DDR_CONTROLLERS to Kconfig

Move this option to Kconfig and clean up existing uses.
NUM_DDR_CONTROLLERS is also used by PowerPC SoCs.

Signed-off-by: York Sun <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/include/asm/arch-fsl-layerscape/config.h